package com.gpframework.common.enums;

import lombok.Getter;

/**
 * @author BrinedFish
 * @create 2022-05-09 20:12
 */
@Getter
public enum CommonOrderAuditEnum {

    /**
     * common_order_audit#audit_type
     */
    REFUND_AUDIT("退款审核", "10"),
    DISCOUNT_AUDIT("折扣审核", "20"),
    TRANSFER_COURSE_AUDIT("转课审核", "30"),
    TRANSFER_CARD_AUDIT("转卡审核", "40"),
    DELAY_AUDIT("延期审核", "50"),


    /**
     * common_order_audit#audit_status
     */
    NOT_AUDIT("审核中", "1"),
    AUDIT_SUCCEED("审核通过", "2"),
    AUDIT_FAILED("审核不通过", "3"),
    DISABLE("禁用", "4"),

    /**
     * common_order_audit#refund_method
     */
    CASH("现金", "10"),
    ORIGINAL_REFUND("原路退款", "20"),
    ORIGINAL_REFUND_SYSTEM("原路退款(后台)", "200"),//后台
    ;
    /**
     * 业务名称
     */
    private String name;

    private String key;

    private CommonOrderAuditEnum() {
    }

    private CommonOrderAuditEnum(String name) {
        this.name = name;
    }

    private CommonOrderAuditEnum(String name, String key) {
        this.name = name;
        this.key = key;
    }

}
